#include "SDLKeyboard.h"

SDLKeyboard::SDLKeyboard(void)
{
}

SDLKeyboard::~SDLKeyboard(void)
{
}

void SDLKeyboard::newEvent(SDL_Event &event)
{
	if(event.type == SDL_KEYUP)
	{
		keys[event.key.keysym.sym] = false;
	}

	if(event.type == SDL_KEYDOWN)
	{
		keys[event.key.keysym.sym] = true;
	}


}
